package com.cmc.cloud.cmclink.doc.mapper;

import com.cmc.cloud.cmclink.doc.entity.MultiFinishDO;
import com.cmc.cloud.cmclink.doc.vo.multimodaltransport.multiop.BargeMultiCalculationReqVO;
import com.cmc.cloud.cmclink.doc.vo.multimodaltransport.multiop.BargeMultiCalculationRespVO;
import com.cmc.cloud.cmclink.doc.vo.multimodaltransport.multiop.MultiFinishOperationReqVO;
import com.cmc.cloud.cmclink.svl.api.base.resp.VoyQueryRespDTO;
import com.cmes.framework.mybatis.core.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 还船完单 Mapper
 *
 * @author 集运管理员
 */
@Mapper
public interface MultiFinishMapper extends BaseMapperX<MultiFinishDO> {


    List<BargeMultiCalculationRespVO> selectImBargeMultiCalculation( @Param("reqVo") BargeMultiCalculationReqVO reqVo, @Param("voys") List<VoyQueryRespDTO> voys);
    List<BargeMultiCalculationRespVO> selectExBargeMultiCalculation( @Param("reqVo") BargeMultiCalculationReqVO reqVo, @Param("voys") List<VoyQueryRespDTO> voys);

    Boolean isExistValidVslVoy(@Param("imExType")String imExType,@Param("reqVo") MultiFinishOperationReqVO reqVo);
}
